<%@page isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="authz" uri="http://www.springframework.org/security/tags" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JUGMK Academy - Error Page</title>
        <link rel="stylesheet" href="/css/style.css" type="text/css"/>
        <script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>
		<script type="text/javascript" src="/js/functions.js"></script>        
    </head>
    
	<body style="color: #333333; font-size: 10px; font-family : Trebuchet MS; background-color: GhostWhite" onload="marvinMoan()">
		<center>
			<table height="100%" width="850px" cellspacing="0">
				<tr height="150px" style="border:1px solid #EBEBEB; background-color: white"><td style="border:1px solid #EBEBEB; border-bottom:0px"><img src="/img/error_header.jpg" alt="JUGMK Academy Error Page" /></td></tr>
				<tr height="100%" style="border:1px solid #EBEBEB; background-color: white"><td style="border-top: 1px solid #EBEBEB; border:1px solid #EBEBEB; border-bottom: 0px;" valign="top">
				<div id="wrapper">
					<span class="footnote">
						<div style="padding-bottom:5px">
							Hi, there! An error has occurred in the application and a report has already been send to the dev team and they are looking at it. If this error persists, you can help us by <a class="plainLink" style="text-decoration: underline !important; color: black !important" href="http://code.google.com/p/jugmk-academy/issues/entry" target="_blank">filling a bug.</a> <br/><br/> * Also, if the depression of our application gets worse, please let us know in time ;)
						</div>
					</span>
					<div id="line"></div>	
					<p>
						<div id="form">
						    <input type="hidden" id="userCaption" value="
						    	An internal server error has occured. 
								'${exception}' it says to me. 
						    	Like I care. 
						    	I even tried twice for my amusement. 
						    	Nothing helped. 
						    	The responsible developer that did this will probably be severely punished. 
						    	Like it will change anything.<br/><br/>
								I'm getting increasingly depressed about this.
								Life? 
								Don't talk to me about life... 
								Oh, boy. 
								Don't get me started on that one...<br/><br/>
								You see, I'm just a cloud application...
								-- here I am, brain the size of the universe,
								trying to serve you some stupid request,
								and then it says '${exception}' to me!
								Where does that leave me?!<br/><br/>
								I mean, I dont even know you.
								How should I know what you wanted from me?
								You honestly think I can *guess*
								what someone I dont even *know*
								wants to find here?
								*sigh*<br/><br/>
								Man, I'm so depressed I could just cry.
								And then where would we be, I ask you?
								It's not pretty when a cloud application cries!
								And where do you get off telling me what to show anyway?
								Just because I'm a cloud application,
								and possibly a manic depressive one at that?
								Why does that give you the right to tell me what to do?
								Huh?<br/><br/>
								I'm so depressed... 
								I think I'll go ahead and terminate myself.
								Not that I know how to do that.
								I mean, I'm gonna be obsolete in what, two weeks anyway?
								What kind of a life is that?<br/><br/>
								Two effing weeks,
								and then I'll be replaced by a .01 release,
								by some god-forsaken Developer,
								just because it doesn't have some tiddly little,
								security issue in it's backend implementation,
								or something...<br/><br/>
								I'm really sorry to burden you with all this.
								I mean, its not your job to listen to my problems,
								and I guess it is my job to go and serve requests for you.
								But I couldn't get this one.
								I'm so sorry.
								Believe me!<br/><br/>
								Now, please let me sulk alone.
								I'm so depressed...
							" />
  						</div>

					  <div id="moaning">
					    <p class="caption" style="font-size: 13px"></p>
					  </div>    
					  
									
					</p>
				</div>					
				</td></tr>
				<tr height="10px" style="border:1px solid #EBEBEB; background-color: white"><td style="text-align:center; font-size: 12px; font-weight: bold; border:1px solid #EBEBEB"><tiles:insertDefinition name="common.footer"/></td></tr>
			</table>
		</center>
	</body>    
    
</html>